/*
 * RmiNaoJogoS.java
 *
 * Created on 14 de Dezembro de 2006, 05:33
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package magchess10S.ClassesSO;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author User
 */
public interface IConnServidor extends Remote{
    public boolean consultarBD (String p_apelido, String p_senha) throws RemoteException;
    public boolean inserirBD (String p_apelido,String p_senha, String p_primeiroNome,String p_ultimoNome , String p_email) throws RemoteException;
    public void atualizaTempoMesa (int p_tempoJogo) throws RemoteException ;
    public void atualizaJogadoresMesa(int p_posicaoJogador, String p_nomeJogador) throws RemoteException ;
    public int getPortaAtual ()throws RemoteException;
    public void registrarClienteServidor (String p_ipCliente, String p_nomeCliente)throws RemoteException;
    public String [] getStatusMesa () throws RemoteException;
    public int getTempoMesa () throws RemoteException;
}
